package com.huayue.entity;

/**
 * 权限
 * 
 */
public class Authority {
    private int id;
    private String name;
    private int role_id;
    private int menu_id;
    private int dep_id;
    private int is_deleted;
    private int parentid;

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRole_id() {
        return role_id;
    }

    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public int getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(int menu_id) {
        this.menu_id = menu_id;
    }

    public int getDep_id() {
        return dep_id;
    }

    public void setDep_id(int dep_id) {
        this.dep_id = dep_id;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }

    @Override
    public String toString() {
        return "Authority{" + "id=" + id + ", name='" + name + '\'' + ", role_id=" + role_id + ", menu_id=" + menu_id
            + ", dep_id=" + dep_id + ", is_deleted=" + is_deleted + '}';
    }
}
